bitkeeper revision 1.988.1.1 (40d684dbwUdI_vXbxca8SVxCnwHYlw)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 21 Jun 2004 06:48:59 +0000 (06:48 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Mon, 21 Jun 2004 06:48:59 +0000 (06:48 +0000)
Build and install linux modules in main Makefile

Makefile

index aed192802c0a2395be21af718a99622d1bbab645..0703b546b7596f54ff56622576779cb8f1f5d964 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,10 +54,14 @@ linux_%_config:
 
 # build and install to a specified install name
 linux_%: 
+       $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen modules
+       $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen INSTALL_NAME=$(subst linux_,$(LINUX_VER)-,$(@)) INSTALL_MOD_PATH=$(INSTALL_DIR) modules_install
        $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen INSTALL_NAME=$(subst linux_,$(LINUX_VER)-,$(@)) INSTALL_PATH=$(INSTALL_DIR) install
 
 # shorthand with no siffix
 linux: 
+       $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen modules
+       $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen INSTALL_NAME=$(subst linux_,$(LINUX_VER)-,$(@)) INSTALL_MOD_PATH=$(INSTALL_DIR) modules_install
        $(MAKE) -C linux-$(LINUX_VER)-xen ARCH=xen INSTALL_PATH=$(INSTALL_DIR) install  
 
 # build xen, the tools, and a domain 0 plus unprivileged linux-xen images,